home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
util1
/
reboot.lha
/
ColdReboot.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-11-21
|
1KB
|
28 lines
/**********************************************************************/
/* MF WBTools reboot.c - perform an immediate cold reboot */
/* */
/* USAGE: ColdReboot - Reboots without confirmation */
/* */
/* 13/03/1994 Max Francis */
/**********************************************************************/
#include <exec/exec.h>
#include <stdio.h>
/* Formatted version string for the 2.0 VERSION command */
UBYTE *vers = "\0$VER: MF Reboot v1.5";
main( int argc, char *argv[] )
{
if( argc != 1)
{
printf("MF ColdReboot\nPerform an immediate cold reboot of the system\n");
printf("USAGE: ColdReboot (no arguments)\n");
printf("(equivalent of <CTRL><A><A>)\n\n");
}
else
{
ColdReboot(); /* No turning back now! */
}
}